package com.es.hr.shop;

import javax.servlet.http.HttpServletRequest;

import com.es.business.area.AreaBiz;
import com.es.business.citys.CitysBiz;
import com.es.common.CommonBiz;
import com.opensymphony.webwork.interceptor.ServletRequestAware;
import com.opensymphony.xwork.ActionSupport;

public class ShopInsertInitAction extends ActionSupport
implements ServletRequestAware{
	 HttpServletRequest request;

	public void setServletRequest(HttpServletRequest paramHttpServletRequest) {
		// TODO Auto-generated method stub
		this.request = paramHttpServletRequest;
	}
	
	public String execute() throws Exception{
		String result = "";
		ShopBiz shopBiz = new ShopBiz();
		
		request.setAttribute("areaList", new AreaBiz().getAreaList());
		//request.setAttribute("shangtypeList", new CommonBiz(((LoginUserBeen)request.getSession(false).getAttribute("loginuser")).getLoginId());.getCommonByType("jingxiaoshangtype"));
		result = "success";
		return result;
	}
	 

}
